package com.zh.domain.vo.milestone;

import com.zh.domain.entity.Milestone;
import com.zh.domain.vo.task.TaskVo;
import com.zh.domain.vo.user.UserVO;
import com.zh.domain.vo.iteration.IterationVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "MileStoneVo", description = "里程碑视图对象")
public class MileStoneVo extends Milestone implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("创建人")
    private UserVO creator;
    @ApiModelProperty("更新人")
    private UserVO updater;
    @ApiModelProperty("迭代列表")
    private List<IterationVo> iterationVoList;
    @ApiModelProperty("任务列表")
    private List<TaskVo> taskVoList;

}
